
FROM ccr.ccs.tencentyun.com/w7team/swoole:fpm
MAINTAINER yuanwentao <admin@w7.com>


#ccr.ccs.tencentyun.com/afan-public/w7:latest

#RUN apk upgrade php8

ENV WEB_PATH /mnt
ADD . /home
RUN chmod +x /home/start.sh

WORKDIR $WEB_PATH

CMD ["sh",  "/home/start.sh"]



# RUN rm -rf Dockerfile .git \
    # && chown -R 1000:1000 $WEB_PATH \ 
    # && chmod -R 755 $WEB_PATH